package com.gitee.ly.chain.springboot.config;

import com.gitee.ly.chain.Form;
import com.gitee.ly.chain.abstractclass.GlobalTool;
import org.springframework.beans.factory.ObjectProvider;

import java.util.List;

/**
 * ChainAutoConfiguration
 *
 * @author ly
 **/
public class ChainAutoConfiguration {
    public ChainAutoConfiguration(ObjectProvider<List<Form>> formList) {
        GlobalTool.loadChain(formList.getIfAvailable());
    }
}
